From bb393f6496d74edffad72991a40039a0e43d607a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Feb 2021 16:11:29 -0500 Subject: [PATCH] fontchooserwidget: Convert docs --- gtk/gtkfontchooserwidget.c | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index 3fef81ea55..7e70bd1d58 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -73,28 +73,25 @@ #include "open-type-layout.h" /** - * SECTION:gtkfontchooserwidget - * @Short_description: A widget for selecting fonts - * @Title: GtkFontChooserWidget - * @See_also: #GtkFontChooserDialog + * GtkFontChooserWidget: * - * The #GtkFontChooserWidget widget lists the available fonts, - * styles and sizes, allowing the user to select a font. It is - * used in the #GtkFontChooserDialog widget to provide a - * dialog box for selecting fonts. + * The `GtkFontChooserWidget` widget lets the user select a font. + * + * It is used in the `GtkFontChooserDialog` widget to provide a + * dialog for selecting fonts. * * To set the font which is initially selected, use - * gtk_font_chooser_set_font() or gtk_font_chooser_set_font_desc(). + * [method@Gtk.FontChooser.set_font] or [method@Gtk.FontChooser.set_font_desc]. * - * To get the selected font use gtk_font_chooser_get_font() or - * gtk_font_chooser_get_font_desc(). + * To get the selected font use [method@Gtk.FontChooser.get_font] or + * [method@Gtk.FontChooser.get_font_desc]. * * To change the text which is shown in the preview area, use - * gtk_font_chooser_set_preview_text(). + * [method@Gtk.FontChooser.set_preview_text]. * * # CSS nodes * - * GtkFontChooserWidget has a single CSS node with name fontchooser. + * `GtkFontChooserWidget` has a single CSS node with name fontchooser. */ typedef struct _GtkFontChooserWidgetClass GtkFontChooserWidgetClass; @@ -1308,9 +1305,9 @@ gtk_font_chooser_widget_init (GtkFontChooserWidget *self) /** * gtk_font_chooser_widget_new: * - * Creates a new #GtkFontChooserWidget. + * Creates a new `GtkFontChooserWidget`. * - * Returns: a new #GtkFontChooserWidget + * Returns: a new `GtkFontChooserWidget` */ GtkWidget * gtk_font_chooser_widget_new (void) -- 2.30.2